<!--
	此示例下载自 https://echarts.apache.org/examples/zh/editor.html?c=gauge-speed&code=PYBwLglsB2AEC8sDeAoWsDOBTAThLGAXLANprrLkWxgCeIWxA5AOYCGAri1kwDRUUQOYCxwEilatQwALYAHdiYHByz8pFeRAAmYGcQCMADnUbYEMFgC2AZToAbRqjMUAxsHvAchAEQgI0ADWPgLUAL6hsGGm1GwAHhAYADIBjJJm9ql2tI7Ezi6wWrr6sMYxGu6e3iQkBrxMYtpMALrNkegRGtGR8YkAKhCugXntmHKKsABmbPbYkd0aGCCZYCnQafkajtAseoYArOXUmevZuekuRXuwAExHUpVezADEAJzvAAxfTKOdUgtSXrJNgAIyw9hGLm0iTAbGgrjSN0Oo0e3lgTDen2-93QkxgYBsEAAXoiPvN7nDXHI0ZspLIFEoVGpRvT5ABBEHAABuaWUqhxmGJaQMNzqKI8Tx8jR8Aos1jOG1G6E5OG0uAA6jprnclbBfuTIpAwOdadJxsRprMsAaNGrYRAIRcpFyZqo2dAIFY2JAYIz-aM8dACULiEYPgLgJNJtgwABhLBB3DEEjh9EAdg-AFIWjapCBgAFLN5TZotfodS45bYHE5dajfP4giEXH9wvdtN62MnRiXqC77KpiBn9Ro2uFyG0wgBuIA
	⚠ 请注意，该图表不是 Apache ECharts 官方示例，而是由用户代码生成的。请注意鉴别其内容。
-->
<!DOCTYPE html>
<html lang="en" style="height: 100%">
<head>
  <meta charset="utf-8">
</head>
<body style="height: 100%; margin: 0">
  <div id="container" style="height: 100%"></div>

  
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts/5.5.1/files/dist/echarts.min.js"></script>
  
  <!-- Uncomment this line if you want to dataTool extension
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts/5.5.1/files/dist/extension/dataTool.min.js"></script>
  -->
  <!-- Uncomment this line if you want to use gl extension
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts-gl/2/files/dist/echarts-gl.min.js"></script>
  -->
  <!-- Uncomment this line if you want to echarts-stat extension
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts-stat/latest/files/dist/ecStat.min.js"></script>
  -->
  <!-- Uncomment this line if you want to echarts-graph-modularity extension
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts-graph-modularity/2/files/dist/echarts-graph-modularity.min.js"></script>
  -->
  <!-- Uncomment this line if you want to use map
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts/4.9.0/files/map/js/world.js"></script>
  -->
  <!-- Uncomment these two lines if you want to use bmap extension
  <script type="text/javascript" src="https://api.map.baidu.com/api?v=3.0&ak=YOUR_API_KEY"></script>
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts/5.5.1/files/dist/extension/bmap.min.js"></script>
  -->

  <script type="text/javascript">
    var dom = document.getElementById('container');
    var myChart = echarts.init(dom, null, {
      renderer: 'canvas',
      useDirtyRect: false
    });
    var app = {};
    
    var option;

    option = {
  series: [
    {
      type: 'gauge',
      progress: {
        show: true,
        width: 18,
        itemStyle:{
          color:"pink"
        }
      },
      axisLine: {
        lineStyle: {
          width: 18,
         color:[[1,'red']]
        }
      },
      axisTick: {
        show: false
      },
      splitLine: {
        length: 15,
        lineStyle: {
          width: 2,
          color: '#999000'
        }
      },
      axisLabel: {
        distance: 25,
        color: '#999000',
        fontSize: 20
      },
      anchor: {
        show: true,
        showAbove: true,
        size: 121,
        color:"red",
        itemStyle: {
          borderWidth: 2,
          
        }
      },
      title: {
        show: false
      },
      detail: {
        valueAnimation: true,
        fontSize: 80,
        offsetCenter: [0, '70%']
      },
      pointer:{
        width:2,
        itemStyle:{
          color:"pink"
        }
      },
      data: [
        {
          value: 70
        }
      ]
    }
  ]
};

    if (option && typeof option === 'object') {
      myChart.setOption(option);
    }

    window.addEventListener('resize', myChart.resize);
  </script>
</body>
</html>